package com.freeman.cement.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.freeman.cement.entity.WorkSection;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface WorksectionDao extends BaseMapper<WorkSection> {
    List<WorkSection> selectAllWorksection();
    List<WorkSection> selectWorksectionByWorksection(WorkSection worksection);
    WorkSection selectWorksectionByid(WorkSection worksection);
    void addWorksection(WorkSection worksection);
    void deleteWorksection(WorkSection worksection);
    void updateWorksection(WorkSection worksection);
}
